package com.ssn.strategy.tax;

public class Client {
    public static void main(String[] args) {
        Context context = new Context();
        context.setStrategy(new CNTax());
        System.out.println(context.calculate(1000));
        context.setStrategy(new DETax());
        System.out.println(context.calculate(1000));
        context.setStrategy(new JAPTax());
        System.out.println(context.calculate(1000));
    }
}
